home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1991 …esperately Seeking Seven / Desperately Seeking Seven.2mg / Dev.CD.8 / Essentials / Tools / DTS.Samples / SC18AccessPriv / AP.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-25  |  2.4 KB  |  90 lines  |  [04] ASCII Text (0x0000)

  1. /***********************************************************************
  2. *
  3. *
  4. * AccessPriv Globals
  5. *
  6. * Copyright (c)
  7. * Apple Computer, Inc.  1989-1990
  8. * All Rights Reserved.
  9. *
  10. * Developer Technical Support Apple II Sample Code
  11. *
  12. * This file contains the global defines used by the AccessPriv program.
  13. *
  14. ***********************************************************************/
  15.  
  16. #define SHORTINDEX      123
  17.  
  18. #define AppleMenuID     0x1100
  19. #define AboutItem       0x1101
  20. #define FileMenuID      0x1200
  21. #define CloseItem           255     /* For DA's */
  22. #define QuitItem        0x1201
  23. #define EditMenuID      0x1300
  24. #define UndoItem            250     /* For DA's */
  25. #define CutItem             251     /* For DA's */
  26. #define CopyItem            252     /* For DA's */
  27. #define PasteItem           253     /* For DA's */
  28. #define ClearItem           254     /* For DA's */
  29.  
  30. #define NumWindows   14
  31.  
  32. #define ButButtonsID  1
  33. #define ButStatTextID 2
  34. #define ButLineEditID 3
  35. #define ButPicturesID 4
  36. #define ButPopUpsID   5
  37. #define ButTextEditID 6
  38. #define ButListsID    7
  39. #define Prog1ID       8
  40. #define Prog2ID       9
  41. #define Prog3ID      10
  42. #define Prog4ID      11
  43. #define Prog5ID      12
  44. #define Prog6ID      13
  45.  
  46. #include <dialog.h>
  47. #include <types.h>
  48. #include <GSOS.h>
  49.  
  50. #define CheckFolderAllSee       0x0101
  51. #define CheckFileAllSee         0x0102
  52. #define CheckAllChanges         0x0103
  53. #define CheckFolderGroupSee     0x0104
  54. #define CheckFileGroupSee       0x0105
  55. #define CheckGroupChanges       0x0106
  56. #define CheckFolderOwnerSee     0x0107
  57. #define CheckFileOwnerSee       0x0108
  58. #define CheckOwnerChanges       0x0109
  59. #define UndoBut                 0x010A
  60. #define SaveBut                 0x010B
  61. #define ViewAnotherBut          0x010C
  62. #define CheckLocked             0x010D
  63. #define LEOwnerName             0x010E
  64. #define LEGroupName             0x010F
  65. #define StatTextTextID1         0x0110
  66. #define StatTextTextID2         0x0111
  67. #define StatTextTextID3         0x0112
  68. #define StatTextTextID4         0x0113
  69. #define StatTextTextID5         0x0114
  70. #define StatTextTextID6         0x0115
  71.  
  72.  
  73. typedef struct SFMultiReplyNamesRec2 {
  74.     Word filetype;
  75.     long auxtype;
  76.     byte namestrlen;
  77.     word nameprefix;
  78.     char filenamestr;
  79.     
  80.     } SFMultiReplyNamesRec2, *SFMultiReplyNamesRec2Ptr;
  81.  
  82. typedef struct DirEntryRecHeader {
  83.    Word pCount; /*  */
  84.    Word refNum; /*  */
  85.    Word flags; /*  */
  86.    Word base; /*  */
  87.    Word displacement; /*  */
  88.    Pointer name; /*  */
  89. } DirEntryRecHeader;
  90.